import request from '@/utils/request'

// 查询现金报销单审核列表
export function listCashAudit(query) {
  return request({
    url: '/product/cashAudit/list',
    method: 'get',
    params: query
  })
}


// 现金报销单审核
export function cashAuditHandle(data) {
  return request({
    url: '/product/cashAudit/audit',
    method: 'put' ,
    data: data
  })
}

// 导出现金报销单审核
export function exportCashAudit(query) {
  return request({
    url: '/product/cashAudit/export',
    method: 'get',
    params: query
  })
}

// 获取流程图
export function getProcessImg(query) {
  return request({
    url: '/process/processModel/read-resource',
    method: 'get',
    params: query
  })
}